#pragma once
#include "uiobject.h"

class UIControl : public UIObject
{
	enum UICTRL_TYPE
	{
		UCT_BUTTON,
		UCT_EDIT
	};
private:
	UICTRL_TYPE					m_ctrlType;
	DVertex						m_ctrlVertexs[4];


public:
	UIControl(void);
	virtual ~UIControl(void);

	inline UICTRL_TYPE GetCtrlType()	 { return m_ctrlType;		} const
	inline DVertex* GetCtrlVertexs()	 { return m_ctrlVertexs;	} const

	void MoveCtrlVertexs(float vx, float vy);
	
};
